func golang.org/x/tools/internal/gcimporter.errorf
31 uses
golang.org/x/tools/internal/gcimporter (current package)
bimport.go#L17: func errorf(format string, args ...any) {
bimport.go#L86: errorf("unexpected channel dir %d", d)
iexport.go#L1275: errorf("malformed type parameter export name %s: missing prefix", exportName)
iimport.go#L36: errorf("import %q: read varint error: %v", r.path, err)
iimport.go#L44: errorf("import %q: read varint error: %v", r.path, err)
iimport.go#L177: errorf("unknown bundle format version %d", v)
iimport.go#L186: errorf("unstable iexport format version %d, just rebuild compiler and std library", version)
iimport.go#L188: errorf("unknown iexport format version %d", version)
iimport.go#L288: errorf("internal error: getPackages returned nil package for %q", item.Path)
iimport.go#L290: errorf("internal error: getPackages returned wrong path %q, want %q", pkg.Path(), item.Path)
iimport.go#L292: errorf("internal error: getPackages returned wrong name %s for package %q, want %s", pkg.Name(), item.Path, item.Name)
iimport.go#L312: errorf("no packages found for %s", path)
iimport.go#L431: errorf("%v.%v not in index", pkg, name)
iimport.go#L447: errorf("varint failed")
iimport.go#L499: errorf("SetLines failed: %d", lines) // can't happen
iimport.go#L509: errorf("missing package %q in %q", path, p.ipath)
iimport.go#L519: errorf("predeclared type missing from cache: %v", off)
iimport.go#L646: errorf("unexpected type param type")
iimport.go#L664: errorf("non-interface constraint marked implicit")
iimport.go#L682: errorf("unexpected tag: %v", tag)
iimport.go#L722: errorf("unexpected type %v", typ) // panics
iimport.go#L785: errorf("weird decoding: %v, %v => %v", n, signed, v)
iimport.go#L890: errorf("unexpected kind tag in %q: %v", r.p.ipath, k)
iimport.go#L984: errorf("unexpected type param type")
iimport.go#L998: errorf("unexpected instantiation type")
iimport.go#L1020: errorf("unexpected instantiation type")
iimport.go#L1097: errorf("readVarint: %v", err)
iimport.go#L1105: errorf("readUvarint: %v", err)
iimport.go#L1113: errorf("declReader.ReadByte: %v", err)
ureader.go#L344: errorf("unhandled type tag: %v", tag)
ureader.go#L678: errorf("unexpected object with %v implicit type parameter(s)", implicits)